<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>

<div class="col-xs-12">
    <form:form commandName="filter" cssClass="form-horizontal" role="form">
        <div class="form-group">

            <label class="col-sm-2 control-label no-padding-right" for="sysId">任务单号</label>
            <div class="col-sm-4">
                <input type="text" name="sysId" id="sysId" placeholder="请输入任务单号" class="form-control "/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="taskName">任务名称</label>
            <div class="col-sm-4">
                <input type="text" name="taskName" id="taskName" placeholder="请输入任务名称" class="form-control "/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="taskContent">任务内容</label>
            <div class="col-sm-10">
                <textarea rows="1" id="taskContent" name="taskContent" placeholder="任务内容" class="form-control "/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="aaa001">任务状态</label>
            <div class="col-sm-4">
                <select name="aaa001" id="aaa001" class="form-control">
                    <option value="">--点击选择--</option>
                    <option value="0">失效任务</option>
                    <option value="1">有效任务</option>
                </select>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="taskTimes">督查轮数</label>
            <div class="col-sm-4">
                <select name="taskTimes" id="taskTimes" class="form-control">
                    <option value="">--点击选择--</option>
                    <option value="1">第一轮</option>
                    <option value="2">第二轮</option>
                    <option value="2">第三轮</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="industryName">指标名称</label>
            <div class="col-sm-4">
                <input type="text" name="industryName" id="industryName" class="form-control "/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="industryId">指标编码</label>
            <div class="col-sm-4">
                <input type="text" name="industryId" id="industryId" class="form-control "/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="planStartDate">计划开始时间</label>
            <div class="col-sm-4">
                <input type="text" name="planStartDate" id="planStartDate" placeholder="点击选择"
                       class="form-control date-picker" readonly/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="planEndDate">计划结束时间</label>
            <div class="col-sm-4">
                <input type="text" name="planEndDate" id="planEndDate" placeholder="点击选择"
                       class="form-control date-picker" readonly/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="startDate">开始时间</label>
            <div class="col-sm-4">
                <input type="text" name="startDate" id="startDate" placeholder="点击选择" class="form-control date-picker"
                       readonly/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="endDate">结束时间</label>
            <div class="col-sm-4">
                <input type="text" name="endDate" id="endDate" placeholder="点击选择" class="form-control date-picker"
                       readonly/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="supervisionResult">督查组反馈结果</label>
            <div class="col-sm-4">
                <select name="supervisionResult" id="supervisionResult" class="form-control">
                    <option value="">--点击选择--</option>
                    <option value="0">未完成</option>
                    <option value="1">已完成</option>
                </select>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="respResult">责任单位反馈结果</label>
            <div class="col-sm-4">
                <select name="respResult" id="respResult" class="form-control">
                    <option value="">--点击选择--</option>
                    <option value="0">未完成</option>
                    <option value="1">已完成</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="groupName">督查组</label>
            <div class="col-sm-4">
                <input type="text" name="groupName" id="groupName" placeholder="请输入督查组" class="form-control "/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="resDept">责任单位</label>
            <div class="col-sm-4">
                <input type="text" name="resDept" id="resDept" placeholder="请输入责任单位" class="form-control "/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="inspectors">督查组成员</label>
            <div class="col-sm-4">
                <input type="text" name="inspectors" id="inspectors" placeholder="请输入姓名" class="form-control "/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="resUser">责任人</label>
            <div class="col-sm-4">
                <input type="text" name="resUser" id="resUser" placeholder="请输入姓名" class="form-control "/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right" for="inspectors">督查组手机号</label>
            <div class="col-sm-4">
                <input type="text" name="phones" id="phones" placeholder="请输入手机号" class="form-control "/>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="resPhone">责任人手机号</label>
            <div class="col-sm-4">
                <input type="text" name="resPhone" id="resPhone" placeholder="请输入手机号" class="form-control "/>
            </div>
        </div>

    </form:form>
</div>
<script>
    jQuery(function ($) {
        $(".date-picker").datepicker({
            inline: true,
            format: "yyyymmdd",
            autoclose: true,
            todayHighlight: true,
            language: 'cn'
        }).next().on(ace.click_event, function () {
            $(this).prev().focus();
        });
    });
</script>